package com.wenyl.juc.thread.semaphoreTest;

/**
 * @author Swimming Dragon
 * @description: TODO
 * @date 2024年11月07日 11:14
 */
public class Car extends Thread{
    private Address address;
    public Car(Address address){
        this.address = address;
    }
    public void run(){
        address.autoCar();
    }
}
